package Account;

public class Account {
    String AcountNum;
    String PassWord;
    double money;
    String Name;

    public Account(String acountNum, String passWord, double money,String Name) {
        AcountNum = acountNum;
        PassWord = passWord;
        this.money = money;
        this.Name = Name;
    }

    public String getAcountNum() {
        return AcountNum;
    }

    public void setAcountNum(String acountNum) {
        AcountNum = acountNum;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getPassWord() {
        return PassWord;
    }

    public void setPassWord(String passWord) {
        PassWord = passWord;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    @Override
    public String toString() {
        return "Account{" +
                "AcountNum=" + AcountNum +
                ", money=" + money +
                ", Name='" + Name + '\'' +
                '}';
    }
}
